export class PlayerState {
    private _x: number
    private _y: number

    setPos(x: number, y: number) {
        this._x = x
        this._y = y
    }

    getPos() {
        return [this._x, this._y]
    }

    canMove():boolean{
        
        return
    }

    canJump():boolean{
        
        return
    }
}

enum STATE{
    STANDING,   //站立
    JUMPING,   //跳跃
    DUCKING,  //闪避
    SQUATING,//蹲
}